package com.neuedu.dao;

import com.neuedu.pojo.Shop;

import java.util.List;

public interface ShopDao {
    Integer addShop(String shopName, String shopAddress, String shopExplain, String shopImg, String shopCategoryId, String startPrice, String deliveryPrice, String remarks,String status, String startTime, String endTime, String recommend, String businessId) throws Exception;

    List<Shop> getShop(String currentPage, String pageSize, String businessId) throws Exception;
    Shop getShopName(String shopId) throws Exception;

    Long shopLong(String businessId) throws Exception;


    Long shopLongs() throws Exception;

    List<Shop> getsShop(String currentPage, String pageSize, String shopName, String status) throws Exception;

    Integer updateShop(String shopName, String shopAddress, String shopExplain, String shopImg, String shopCategoryId, String startPrice, String deliveryPrice, String remarks, String startTime, String endTime, String status,String shopId) throws Exception;

    Integer updateStatus(String status,String shopName) throws Exception;

    Integer delShop(String shopId) throws Exception;
}

